home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / SoundAndMusic / cmix / lib / breson.c < prev    next >
C/C++ Source or Header  |  1989-02-25  |  184b  |  12 lines

  1.  
  2. float breson(x,a,out,nvals)
  3. float *x,*a,*out;
  4. {
  5.     int i;
  6.     for(i=0; i<nvals; i++) {
  7.         out[i] = *a * x[i] + *(a+1) * *(a+3) - *(a+2) * *(a+4);
  8.         *(a+4) = *(a+3);
  9.         *(a+3) = out[i];
  10.     }
  11. }
  12.